package com.springboot.dto;

public class DoctorSetInfoView {
    private String img;
    private Integer doctorId;
    private String  doctorName;
    private String department;
    private String position;
    private String hosName;

    public String  getDocterLogoLink() {
        return img;
    }
    public Integer getDoctorId() {
        return doctorId;
    }
    public String  getDocterName() {
        return doctorName;
    }
    public String  Department() {
        return department;
    }
    public String  position() {
        return position;
    }
    public String  hosName() {
        return hosName;
    }

    //设置只好修改科室和职称
    public void setDoctorLogoLink(String doctorLogoLink) {
        this.img = doctorLogoLink;
    }
    public void setDoctorId(Integer doctorid) {
        this.doctorId = doctorid;
    }
    public void setDoctorName(String doctorname) {
        this.doctorName = doctorname;
    }
    public void setDoctorDepartment(String department) {
        this.department = department;
    }
    public void setDoctorhosName(String hosName) {
        this.hosName = hosName;
    }
    public void setDoctorPosition(String position) {
        this.position = position;
    }

    @Override
    public String toString() {
        if(img!=null)
        {
            img=img.replaceAll("","");
        }
        return "{" +
                "\"img\":\"" + img + '\"' +
                ",\"name\":\"" + doctorName + '\"' +
                ",\"id\":\"" + doctorId + '\"' +
                ",\"department\":\"" + department + '\"' +
                ",\"position\":\"" + position + '\"' +
                ",\"hosName\":\"" + hosName + '\"' +
                '}';
    }


}
